<?=(isset($notification)) ? '<b>'.$notification.'</b>' : ''?>

<?=form_open(current_url(), array('class' => 'hform'), array($node.'_add' => true));?>

<?php foreach($fields as $row):?>
<p>
    <label><?=$row['label']?></label>
    <?=$row['form']?>
</p>
<?php endforeach;?>


<?=form_submit($node.'_add', 'Сохранить');?> <?=form_reset('reset', lang('reset'));?>
</form>
<br />

<?=modul_anchor('modul/node/data/'.$node, 'Назад', array('class' => 'back'));?>